using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace TouchExplode
{
    class GameConstant
    {

        //Screen
        public const int WindowWidth = 800;
        public const int WindowHeight = 480;

        public const string Ad_AppID = "f66d1f9c-da77-46ad-8d08-c689368b71ef";
        public const string Ad_UnitID = "10037549";

        public const int Ad_Widht = 480;
        public const int Ad_Height = 80;
        public const int Ad_Pos_x = -180;//(WindowWidth - Ad_Widht) / 2;
        public const int Ad_Pos_y = 0;

        public const string String_StudioName = "Gel Studio";

        //Box2d Setting
        public struct Box2dSettings
        {
            public static float hz = 60.0f;
            public static int velocityIterations = 8;// 10;
            public static int positionIterations = 3;// 8;
            public static uint drawShapes = 1;
            public static uint pause = 0;
        }

        //Box2d
        public struct Box2dParam
        {
            public const float viewZoom = 1.0f;
            public static Vector2 viewCenter = new Vector2(0.0f, 20.0f);
            public static Vector2 gravity = new Vector2(0.0f, -10.0f);
        }

        //BodyDef
        public struct Boder
        {
            const int offset = 20;
            public static Point P1 = new Point(offset, offset);
            public static Point P2 = new Point(WindowWidth - offset, offset);
            public static Point P3 = new Point(WindowWidth - offset, WindowHeight - offset);
            public static Point P4 = new Point(offset, WindowHeight - offset);
        }

        //BodyDef
        public struct BodyDefine
        {
            public const float desity = 0.01f;
            public const float restitution = 0.05f;
        }

        public static string[] CreditsStr =
         {
            "Gel Studio",
            "Programer Blue",
            "Artist Chopin",
            "eMail Blue-1986@hotmail.com",
            "QQ 284720264",
            "",
            "",
            "",
            "THANK YOU FOR FLAYING"
        };
        

        public Vector2 gravity = new Vector2(0.0f, -10.0f);

    }
}
